package cn.com.nes.site.entity.vo.workOrder;

import cn.com.nes.site.entity.vo.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.NotEmpty;

import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class CaptainCancelWorkOrdersVO extends BaseVO {

    @ApiModelProperty(value = "安装工单id集合", required = true)
    @NotEmpty(message = "安装工单id集合")
    private List<Long> workOrderIdList;

    @ApiModelProperty(value = "经度", required = false)
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度", required = false)
    private BigDecimal latitude;
}
